; Pela

; Constants -------------------------

[Constants]
global $active = 0
global $creditinfo = 0

[Present]
post $active = 0
run = CommandListCreditInfo

; Overrides -------------------------

[TextureOverridePelaHairPosition]
hash = fd24333c
handling = skip
vb0 = ResourcePelaHairPosition
vb2 = ResourcePelaHairBlend
draw = 3120,0
$active = 1

[TextureOverridePelaHairTexcoord]
hash = b7b84af4
vb1 = ResourcePelaHairTexcoord

[TextureOverridePelaHairVertexLimitRaise]
hash = 18d9ad82

[TextureOverridePelaHeadPosition]
hash = db053da4
handling = skip
vb0 = ResourcePelaHeadPosition
vb2 = ResourcePelaHeadBlend
draw = 3001,0
$active = 1

[TextureOverridePelaHeadTexcoord]
hash = 615aee40
vb1 = ResourcePelaHeadTexcoord

[TextureOverridePelaHeadVertexLimitRaise]
hash = 87f9b9c3

[TextureOverridePelaBodyPosition]
hash = ca538103
handling = skip
vb0 = ResourcePelaBodyPosition
vb2 = ResourcePelaBodyBlend
draw = 64118,0
$active = 1

[TextureOverridePelaBodyTexcoord]
hash = 77a2f3bf
vb1 = ResourcePelaBodyTexcoord

[TextureOverridePelaBodyVertexLimitRaise]
hash = 79a43d63

[TextureOverridePelaHairIB]
hash = 16e76a8a
handling = skip
drawindexed = auto

[TextureOverridePelaHairA]
hash = 16e76a8a
match_first_index = 0
ib = ResourcePelaHairAIB

[TextureOverridePelaHairADiffuse]
hash = 934172e5
this = ResourcePelaHairADiffuse

[TextureOverridePelaHairALightMap]
hash = 54a11a98
this = ResourcePelaHairALightMap

[TextureOverridePelaHeadIB]
hash = 9af18b75
handling = skip
drawindexed = auto

[TextureOverridePelaHeadA]
hash = 9af18b75
match_first_index = 0
ib = ResourcePelaHeadAIB

[TextureOverridePelaHeadADiffuse]
hash = 0a50c14c
this = ResourcePelaHeadADiffuse

[TextureOverridePelaHeadB]
hash = 9af18b75
match_first_index = 12810
ib = ResourcePelaHeadBIB

[TextureOverridePelaBodyIB]
hash = 98dbd548
handling = skip
drawindexed = auto

[TextureOverridePelaBodyA]
hash = 98dbd548
match_first_index = 0
ib = ResourcePelaBodyAIB

[TextureOverridePelaBodyADiffuse]
hash = e02d100c
this = ResourcePelaBodyADiffuse

[TextureOverridePelaBodyALightMap]
hash = ffeb1d46
this = ResourcePelaBodyALightMap

[TextureOverridePelaBodyAStockingMap]
hash = 8df14d0a
this = ResourcePelaBodyAStockingMap

[TextureOverridePelaBodyB]
hash = 98dbd548
match_first_index = 44043
ib = ResourcePelaBodyBIB

; CommandList -----------------------

[CommandListCreditInfo]
if $creditinfo == 0 && $active == 1
	pre Resource\ShaderFixes\help.ini\Notification = ResourceCreditInfo
	pre run = CustomShader\ShaderFixes\help.ini\FormatText
	pre $\ShaderFixes\help.ini\notification_timeout = time + 5.0
	$creditinfo = 1
endif

; Resources -------------------------

[ResourcePelaHairPosition]
type = Buffer
stride = 40
filename = PelaHairPosition.buf

[ResourcePelaHairBlend]
type = Buffer
stride = 32
filename = PelaHairBlend.buf

[ResourcePelaHairTexcoord]
type = Buffer
stride = 8
filename = PelaHairTexcoord.buf

[ResourcePelaHeadPosition]
type = Buffer
stride = 40
filename = PelaHeadPosition.buf

[ResourcePelaHeadBlend]
type = Buffer
stride = 32
filename = PelaHeadBlend.buf

[ResourcePelaHeadTexcoord]
type = Buffer
stride = 8
filename = PelaHeadTexcoord.buf

[ResourcePelaBodyPosition]
type = Buffer
stride = 40
filename = PelaBodyPosition.buf

[ResourcePelaBodyBlend]
type = Buffer
stride = 32
filename = PelaBodyBlend.buf

[ResourcePelaBodyTexcoord]
type = Buffer
stride = 20
filename = PelaBodyTexcoord.buf

[ResourcePelaHairAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = PelaHairA.ib

[ResourcePelaHeadAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = PelaHeadA.ib

[ResourcePelaHeadBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = PelaHeadB.ib

[ResourcePelaBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = PelaBodyA.ib

[ResourcePelaBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = PelaBodyB.ib

[ResourcePelaHairADiffuse]
filename = PelaHairADiffuse.dds

[ResourcePelaHairALightMap]
filename = PelaHairALightMap.dds

[ResourcePelaHeadADiffuse]
filename = PelaHeadADiffuse.dds

[ResourcePelaBodyADiffuse]
filename = PelaBodyADiffuse.dds

[ResourcePelaBodyALightMap]
filename = PelaBodyALightMap.dds

[ResourcePelaBodyAStockingMap]
filename = PelaBodyAStockingMap.dds

[ResourceCreditInfo]
type = Buffer
data = "Created by Levi, check out more mods at Patreon.com/LeviMods"


; .ini generated by GIMI (Genshin-Impact-Model-Importer)
; If you have any issues or find any bugs, please open a ticket at https://github.com/SilentNightSound/GI-Model-Importer/issues or contact SilentNightSound#7430 on discord